package com.lovegu.object.middle;

/**
 * @author 老顾
 * @title: Parent1
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/21 8:18
 */
public class Parent1 {
    private int f1 = 1;
    int f2 = 2;
    protected int f3 = 3;
    public int f4 = 4;
    private void fm1() {
        System.out.println("in fm1() f1=" + f1);
    }
    void fm2() {
        System.out.println("in fm2() f2=" + f2);
    }
    protected void fm3() {System.out.println("in fm3() f3=" + f3);}
    public void fm4() {System.out.println("in fm4() f4=" + f4);}
}
